package cn.lf.constant;

/**
 * 订单状态枚举类
 * @author guoyy
 */
public enum OrderStatusEnum {
    UN_PAID("0","未付款"),
    PAID("1","已付款"),
    COMPLETED("2","已完成"),
    REFUND("3","退款"),
    CANCEL("4","取消"),
    REFUNDING("5","退款中");

    private String code;

    private String name;

    OrderStatusEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
